package his.service;

import his.entity.Drugs;
import his.entity.Prescription;
import his.vo.Condition;
import his.vo.PrescriptionVO;
import org.example.his.common.api.CommonResponse;
import org.springframework.web.bind.annotation.RequestParam;

import java.math.BigDecimal;
import java.util.List;

public interface DrugsService {


    public CommonResponse<List<PrescriptionVO>> get_drugs_bycasenumber(String casenumber);
    public CommonResponse delete_drugs(String drug_flag);
    public CommonResponse modify_drugs(String DrugsCode, String DrugsName, String DrugsFormat,  String DrugsUnit,  String Manufacturer,  int DrugsDosageID,  int DrugsTypeID,  BigDecimal DrugsPrice,  String MnemonicCode);
    public CommonResponse add_drugs( String DrugsCode, String DrugsName, String DrugsFormat,  String DrugsUnit,  String Manufacturer,  int DrugsDosageID,  int DrugsTypeID,  BigDecimal DrugsPrice,  String MnemonicCode);
    public CommonResponse<List<Drugs>> getall_drugs_bycodename(String keywords);
    public CommonResponse<List<Drugs>> getall_drugs();
    public CommonResponse return_drug(String drugsName, String prescriptionTime);
    public CommonResponse deliver_drug(String drugsName, String prescriptionTime);
    public CommonResponse<List<PrescriptionVO>> check_drug(int medical_id );
}
